/*
 * Copyright (c) 2007 Compl Yue Still, All Rights Reserved.
 */

package hbi.task;

/**
 * Application class implements this interface with the <b>WHAT</b> business
 * logics, that is <b>what</b> to do for a {@link TaskAgent} in the remote
 * domain. Whereas the {@link TaskAgent} is responsible for the <b>HOW</b>
 * business logics.
 * 
 * @author Compl
 * 
 * @param <T>
 *            task agent type
 */
public interface TaskScript<T extends TaskAgent<?, ?>>
{

    void run(T agent);

}
